<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/taglib.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="expires" content="0"/>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>MCU MANAGER</title>
	<%@ include file="/WEB-INF/jsp/common/cssjs2.jsp" %>
	
	<script type="text/javascript">
		$(function(){
			
		});
	</script>
	
	<style type="text/css">
	    html, body {
	        margin: 0px;
	        padding:4px;
	        /*overflow: hidden;*/
	    }
	</style>
</head>
<body class="dialog">
<fieldset class="b">
<legend style="font-size:12px;color: black;"><fmt:message key="form.caller.detail"/></legend>
<table border="0" width="80%" cellpadding="3" cellspacing="0">
	<tr>
		<td width="30%"><fmt:message key="form.caller.number"/></td>
		<td>${model.number}</td>
	</tr>
	<tr>
		<td><fmt:message key="form.caller.name"/></td>
		<td>${model.name}</td>
	</tr>
	<tr>
		<td><fmt:message key="form.caller.bandwidth"/></td>
		<td>${model.bandwidth} kbps</td>
	</tr>
	<tr>
		<td><fmt:message key="form.caller.rxbandwidth"/></td>
		<td>${model.rxbandwidth}</td>
	</tr>
	<tr>
		<td><fmt:message key="form.caller.ip"/></td>
		<td>${model.ip}</td>
	</tr>
	<tr>
		<td><fmt:message key="form.caller.connectTime"/></td>
		<td>${model.connectTime}</td>
	</tr>
	<tr>
		<td><fmt:message key="form.caller.callDirection"/></td>
		<td>${model.callDirection}</td>
	</tr>
	<tr>
		<td><fmt:message key="form.caller.remoteApplication"/></td>
		<td>${model.remoteApplication}</td>
	</tr>
</table>
</fieldset>

<c:if test="${model.videoEnabled eq 'true'}">
<fieldset class="b">
<legend style="font-size:12px;color: black;"><fmt:message key="form.caller.video"/></legend>
<table border="0" style="width:80%;" cellpadding="3" cellspacing="0">
	<tr>
		<td width="20%"></td>
		<td width="40%"><fmt:message key="form.caller.receive"/></td>
		<td width="40%"><fmt:message key="form.caller.send"/></td>
	</tr>
	<tr>
		<td><fmt:message key='form.caller.codec'/></td>
		<td>${model.videoRxCodec}</td>
		<td>${model.videoTxCodec}</td>
	</tr>
	<tr>
		<td><fmt:message key='form.caller.definition'/></td>
		<td>${model.videoRxFormat}</td>
		<td>${model.videoTxFormat}</td>
	</tr>
	<tr>
		<td><fmt:message key='form.caller.lost'/></td>
		<td>${model.videoRxLost}</td>
		<td>${model.videoTxLost}</td>
	</tr>
	<tr>
		<td><fmt:message key='form.caller.fraction'/></td>
		<td>${model.videoRxLostFraction}</td>
		<td>${model.videoTxLostFraction}</td>
	</tr>
	<tr>
		<td><fmt:message key='form.caller.fps'/></td>
		<td>${model.videoFpsReceived}</td>
		<td>${model.videoFpsSent}</td>
	</tr>
	<tr>
		<td><fmt:message key='form.caller.bitrates'/></td>
		<td>${model.videoBpsReceived}</td>
		<td>${model.videoBpsSent}</td>
	</tr>
</table>
</fieldset>
</c:if>

<fieldset class="b">
<legend style="font-size:12px;color: black;"><fmt:message key="form.caller.audio"/></legend>
<table border="0" style="width:80%;" cellpadding="3" cellspacing="0">
	<tr>
		<td width="20%"></td>
		<td width="40%"><fmt:message key="form.caller.receive"/></td>
		<td width="40%"><fmt:message key="form.caller.send"/></td>
	</tr>
	<tr>
		<td><fmt:message key='form.caller.codec'/></td>
		<td>${model.audioRxCodec}</td>
		<td>${model.audioTxCodec}</td>
	</tr>
	<tr>
		<td><fmt:message key='form.caller.lost'/></td>
		<td>${model.audioRxLost}</td>
		<td>${model.audioTxLost}</td>
	</tr>
	<tr>
		<td><fmt:message key='form.caller.fraction'/></td>
		<td>${model.audioRxLostFraction}</td>
		<td>${model.audioTxLostFraction}</td>
	</tr>
</table>
</fieldset>
</body>
</html>